﻿using LPP.Entity.Orders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LPP.Entity.CreateOrderRequest
{
    public class CreateOrderRequest
    {
        public int UserID { get; set; }
        public PaymentMethod PaymentMethod { get; set; }
        public string Description { get; set; }
        public List<OrderDetailDto> OrderDetails { get; set; }
        public decimal TotalPrice { get; set; }
    }

    public class OrderDetailDto
    {
        public string ProductName { get; set; } // 商品名称
        public int Quantity { get; set; } // 商品数量
        public decimal UnitPrice { get; set; } // 商品单价
    }
}
